<?php
return [
    'site'=>[
        'http://www.zhihu.com/'
    ],
    'db' =>[
        'connect'=>[
            'development' =>'mysql://root:@192.168.1.115/lactone?charset=utf8'
        ]
    ],
    'Server\network\Server'=>[
        'ip'    => '0.0.0.0',
        'port'  => '2222'
    ],
    'Server\Queue\TaskSendQueue' =>[
        'ShiftLoopTime' => 200,
        'pushLoopTime'  => 100,
        'max'           => 50
    ],
    'log'       =>[
        'handler'=>'file',
        'name'   =>__DIR__.'/../log',
        'conf'   =>[
            'timeFormat' =>'%m %d %H:%M:%S'
        ],
        'dir'   =>__DIR__.'/../',
        'level' => 6 //error 0,run 1,debug 2,info 3
    ],
    'run'       =>[
        'initClass' =>[
            'Server\network\Server',
            'Server\Queue\TaskSendQueue'
        ]
    ]
];

?>